package net.zjitc.service;

import net.zjitc.domain.Book;

import java.util.List;

public interface BookService {
    public List<Book> findAll();

    public boolean save(Book book);

    public boolean delete(int id);

    public Book findById(int id);

    public boolean update(Book book);

    public List<Book> findByCondition(Book book);
}
